<?php

use yii\helpers\Html;
use yii\grid\GridView;

/* @var $this yii\web\View */
/* @var $searchModel common\models\ShopSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = '店铺';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="shop-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>


    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            's_id',
            's_name',
            //'s_pass',
            'dianname',
            's_dizi',
            // 'shenhe',
            // 'type',
            // 's_logo',
            // 'phone',
            // 'back_img',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>

</div>
